package cn.northsea.mapper;

import cn.northsea.pojo.Supplier;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupplierMapper {
    List<Supplier> getList(String supName);

    int insertSupplier(Supplier supplier);

    int updateSupplier(Supplier supplier);

    Supplier getSupplier(Integer supplierId);

    void deleteSupplier(@Param("ids") Integer[] ids);
}
